package com.wgy.day4;

/**
 * Created by pc on 2020/10/31 23:04
 * Description: Demo1
 */
public class Demo02while {
    public static void main(String[] args) {
        /*int a=1;*/

/*
        while (a<=10){
            System.out.println("我错了"+a);
            ++a;
        }
*/
        for (int a=1;a<=10 ;a++ ) {
            System.out.println("我错了"+a);

        }
    }

}
